<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function Star() {

        };
        Star.prototype.Sing = function () {
            console.log("唱歌");
        };
        var ldh = new Star();
        var zxy = new Star();
        ldh.Sing();
        zxy.Sing();
        console.log(ldh.Sing === zxy.Sing);
        console.log(ldh.__proto__);
        console.log(Star.prototype);
    </script>
</body>

</html>